{* -------------------------------------------------------------- shipcloud_configuration.html 2020-05-13 Gambio GmbH http://www.gambio.de Copyright (c) 2020 Gambio GmbH Released under the GNU General Public License (Version 2) [http://www.gnu.org/licenses/gpl-2.0.html] -------------------------------------------------------------- *} {extends file="get_usermod:layouts/main/layout.html"} {block name="content"} {load_language_text section="shipcloud"}
{block name="admin_module_center_shipcloud_configuration"}
{block name="admin_module_center_shipcloud_configuration_form"} {block name="admin_module_center_shipcloud_configuration_form_credentials"}

{block name="admin_module_center_shipcloud_configuration_form_credentials_title"}
{$txt.credentials}
{/block} {block name="admin_module_center_shipcloud_configuration_form_credentials_api_key_live"}
{$txt.api_key_live} | {if $content.configuration.api_key_live == ''} {$txt.unconfigured_shipcloud_linktext} {/if}
{/block}

{/block} {block name="admin_module_center_shipcloud_configuration_form_miscellaneous_settings"}

{block name="admin_module_center_shipcloud_configuration_form_miscellaneous_settings_title"}
{$txt.misc_settings}
{/block} {block name="admin_module_center_shipcloud_configuration_form_miscellaneous_settings_api_key_sandbox"}
{$txt.api_key_sandbox} |
{/block} {block name="admin_module_center_shipcloud_configuration_form_miscellaneous_settings_mode"}
{$txt.mode} |
{/block} {block name="admin_module_center_shipcloud_configuration_form_miscellaneous_settings_debug_logging"}
{$txt.debug_logging} |
{/block} {block name="admin_module_center_shipcloud_configuration_form_miscellaneous_settings_api_timeout"}
{$txt.api_timeout} | {$txt.api_timeout_tt}
{/block} {block name="admin_module_center_shipcloud_configuration_form_miscellaneous_settings_parcel_service"}
{$txt.parcel_service} |
{/block} {block name="admin_module_center_shipcloud_configuration_form_miscellaneous_settings_order_status_after_label"}
{$txt.order_status_after_label} |
{/block} {block name="admin_module_center_shipcloud_configuration_form_miscellaneous_settings_notify_customer"}
{$txt.notify_customer} |
{/block} {block name="admin_module_center_shipcloud_configuration_form_miscellaneous_settings_prefill_email"}
{$txt.prefill_email} |
{/block} {block name="admin_module_center_shipcloud_configuration_form_miscellaneous_settings_prefill_phone"}
{$txt.prefill_phone} |
{/block} {block name="admin_module_center_shipcloud_configuration_form_miscellaneous_settings_advance_notice_cargo_intl"} {if $content.preselected_carriers.preselected_carriers['cargo_international'] == 1}
{$txt.use_advance_notice_cargo_intl} | {$txt.use_advance_notice_cargo_intl_note}
{/if} {/block} {block name="admin_module_center_shipcloud_configuration_form_miscellaneous_settings_advance_notice_dhl"} {if $content.preselected_carriers.preselected_carriers['dhl'] == 1}
{$txt.use_advance_notice_dhl} | {$txt.use_advance_notice_dhl_note}
{$txt.use_dhl_gogreen} |
{$txt.use_dhl_premium_international} |
{/if} {/block} {block name="admin_module_center_shipcloud_configuration_form_miscellaneous_settings_advance_notice_dpd"} {if $content.preselected_carriers.preselected_carriers['dpd'] == 1}
{$txt.use_advance_notice_dpd} | {$txt.use_advance_notice_dpd_note}
{/if} {/block} {block name="admin_module_center_shipcloud_configuration_form_miscellaneous_settings_advance_notice_gls"} {if $content.preselected_carriers.preselected_carriers['gls'] == 1}
{$txt.use_advance_notice_gls} | {$txt.use_advance_notice_gls_note}
{/if} {/block} {block name="admin_module_center_shipcloud_configuration_form_miscellaneous_settings_advance_notice_hermes"} {if $content.preselected_carriers.preselected_carriers['hermes'] == 1}
{$txt.use_advance_notice_hermes} | {$txt.use_advance_notice_hermes_note}
{/if} {/block} {block name="admin_module_center_shipcloud_configuration_form_miscellaneous_settings_prefill_description"}
{$txt.prefill_description} |
{/block} {block name="admin_module_center_shipcloud_configuration_form_miscellaneous_settings_declared_value_min"}
{$txt.declared_value_min} | {$txt.declared_value_tt}
{/block} {block name="admin_module_center_shipcloud_configuration_form_miscellaneous_settings_declared_value_max"}
{$txt.declared_value_max} | {$txt.declared_value_tt}
{/block}

{/block} {block name="admin_module_center_shipcloud_configuration_form_sender"}

{block name="admin_module_center_shipcloud_configuration_form_sender_title"}
{$txt.sender}
{/block} {block name="admin_module_center_shipcloud_configuration_form_sender_from_company"}
{$txt.from_company} |
{/block} {block name="admin_module_center_shipcloud_configuration_form_sender_from_firstname"}
{$txt.from_first_name} |
{/block} {block name="admin_module_center_shipcloud_configuration_form_sender_from_lastname"}
{$txt.from_last_name} |
{/block} {block name="admin_module_center_shipcloud_configuration_form_sender_from_street"}
{$txt.from_street} |
{/block} {block name="admin_module_center_shipcloud_configuration_form_sender_from_streetnumber"}
{$txt.from_street_no} |
{/block} {block name="admin_module_center_shipcloud_configuration_form_sender_from_city"}
{$txt.from_city} |
{/block} {block name="admin_module_center_shipcloud_configuration_form_sender_from_zip_code"}
{$txt.from_zip_code} |
{/block} {block name="admin_module_center_shipcloud_configuration_form_sender_from_country"}
{$txt.from_country} |
{/block} {block name="admin_module_center_shipcloud_configuration_form_sender_from_phone"}
{$txt.from_phone} |
{/block}

{/block} {block name="admin_module_center_shipcloud_configuration_form_cod_account"}

{block name="admin_module_center_shipcloud_configuration_form_cod_account_title"}
{$txt.cod_account}
{/block} {block name="admin_module_center_shipcloud_configuration_form_cod_account_bank_account_holder"}
{$txt.bank_account_holder} |
{/block} {block name="admin_module_center_shipcloud_configuration_form_cod_account_bank_name"}
{$txt.bank_name} |
{/block} {block name="admin_module_center_shipcloud_configuration_form_cod_account_bank_account_number"}
{$txt.bank_account_number} |
{/block} {block name="admin_module_center_shipcloud_configuration_form_cod_account_bank_code"}
{$txt.bank_code} |
{/block}

{/block} {if ($content.configuration.mode == 'live' && $content.configuration.api_key_live != '') || ($content.configuration.mode == 'sandbox' && $content.configuration.api_key_sandbox != '')} {block name="admin_module_center_shipcloud_configuration_form_webhook"}

{block name="admin_module_center_shipcloud_configuration_form_webhook_title"}
{$txt.webhook}
{/block} {block name="admin_module_center_shipcloud_configuration_form_webhook_status"}
{$txt.webhook_status} | {if $content.configuration.webhook_id} {$txt.webhook_registered} {$content.configuration.webhook_id} {else} {$txt.webhook_not_registered} {/if}
{/block} {block name="admin_module_center_shipcloud_configuration_form_webhook_action"}
| {if $content.configuration.webhook_id} {else} {/if}
{/block} {if $content.configuration.webhook_id} {block name="admin_module_center_shipcloud_configuration_form_webhook_orderstatus_label_created"}
{$txt.order_status_webhook_label_created} |
{/block} {block name="admin_module_center_shipcloud_configuration_form_webhook_orderstatus_picked_up"}
{$txt.order_status_webhook_picked_up} |
{/block} {block name="admin_module_center_shipcloud_configuration_form_webhook_orderstatus_transit"}
{$txt.order_status_webhook_transit} |
{/block} {block name="admin_module_center_shipcloud_configuration_form_webhook_orderstatus_out_for_delivery"}
{$txt.order_status_webhook_out_for_delivery} |
{/block} {block name="admin_module_center_shipcloud_configuration_form_webhook_orderstatus_delivered"}
{$txt.order_status_webhook_delivered} |
{/block} {block name="admin_module_center_shipcloud_configuration_form_webhook_orderstatus_awaits_pickup_by_receiver"}
{$txt.order_status_webhook_awaits_pickup_by_receiver} |
{/block} {block name="admin_module_center_shipcloud_configuration_form_webhook_orderstatus_canceled"}
{$txt.order_status_webhook_canceled} |
{/block} {block name="admin_module_center_shipcloud_configuration_form_webhook_orderstatus_delayed"}
{$txt.order_status_webhook_delayed} |
{/block} {block name="admin_module_center_shipcloud_configuration_form_webhook_orderstatus_exception"}
{$txt.order_status_webhook_exception} |
{/block} {block name="admin_module_center_shipcloud_configuration_form_webhook_orderstatus_not_delivered"}
{$txt.order_status_webhook_not_delivered} |
{/block} {block name="admin_module_center_shipcloud_configuration_form_webhook_orderstatus_destroyed"}
{$txt.order_status_webhook_destroyed} |
{/block} {block name="admin_module_center_shipcloud_configuration_form_webhook_orderstatus_notification"}
{$txt.order_status_webhook_notification} |
{/block} {block name="admin_module_center_shipcloud_configuration_form_webhook_orderstatus_unknown"}
{$txt.order_status_webhook_unknown} |
{/block} {block name="admin_module_center_shipcloud_configuration_form_webhook_orderstatus_autoconfigure"}
{$txt.orderstatus_autoconfigure} |
{/block} {/if}

{/block} {/if} {if $content.carriers} {block name="admin_module_center_shipcloud_configuration_form_carriers_preselection"}

{block name="admin_module_center_shipcloud_configuration_form_carriers_preselection_thead"}
{block name="admin_module_center_shipcloud_configuration_form_carriers_preselection_thead_ths"} {$txt.carrier} | {$txt.display_carrier} | {$txt.checked_carrier} {/block}
--- | --- | ---
{/block} {block name="admin_module_center_shipcloud_configuration_form_carriers_preselection_body"}
{foreach from=$content.carriers item=carrier} {block name="admin_module_center_shipcloud_configuration_form_carriers_preselection_row"}
{block name="admin_module_center_shipcloud_configuration_form_carriers_preselection_row_tds"} {$carrier->display_name} | name] == '1'}checked="checked"{/if} > | name] == '1'}checked="checked"{/if} > {/block}
{/block} {/foreach}
{/block}

{/block} {/if} {block name="admin_module_center_shipcloud_configuration_buttons"}
{block name="admin_module_center_shipcloud_configuration_buttons_submit"} {/block}
{/block} {/block}
{/block} {/block}